package si.yun.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SyForumExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SyForumExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMicrocircleIdIsNull() {
            addCriterion("microcircle_id is null");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdIsNotNull() {
            addCriterion("microcircle_id is not null");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdEqualTo(Integer value) {
            addCriterion("microcircle_id =", value, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdNotEqualTo(Integer value) {
            addCriterion("microcircle_id <>", value, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdGreaterThan(Integer value) {
            addCriterion("microcircle_id >", value, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("microcircle_id >=", value, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdLessThan(Integer value) {
            addCriterion("microcircle_id <", value, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdLessThanOrEqualTo(Integer value) {
            addCriterion("microcircle_id <=", value, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdIn(List<Integer> values) {
            addCriterion("microcircle_id in", values, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdNotIn(List<Integer> values) {
            addCriterion("microcircle_id not in", values, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdBetween(Integer value1, Integer value2) {
            addCriterion("microcircle_id between", value1, value2, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andMicrocircleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("microcircle_id not between", value1, value2, "microcircleId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andArticleTitleIsNull() {
            addCriterion("article_title is null");
            return (Criteria) this;
        }

        public Criteria andArticleTitleIsNotNull() {
            addCriterion("article_title is not null");
            return (Criteria) this;
        }

        public Criteria andArticleTitleEqualTo(String value) {
            addCriterion("article_title =", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleNotEqualTo(String value) {
            addCriterion("article_title <>", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleGreaterThan(String value) {
            addCriterion("article_title >", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleGreaterThanOrEqualTo(String value) {
            addCriterion("article_title >=", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleLessThan(String value) {
            addCriterion("article_title <", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleLessThanOrEqualTo(String value) {
            addCriterion("article_title <=", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleLike(String value) {
            addCriterion("article_title like", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleNotLike(String value) {
            addCriterion("article_title not like", value, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleIn(List<String> values) {
            addCriterion("article_title in", values, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleNotIn(List<String> values) {
            addCriterion("article_title not in", values, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleBetween(String value1, String value2) {
            addCriterion("article_title between", value1, value2, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleTitleNotBetween(String value1, String value2) {
            addCriterion("article_title not between", value1, value2, "articleTitle");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsIsNull() {
            addCriterion("article_keywords is null");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsIsNotNull() {
            addCriterion("article_keywords is not null");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsEqualTo(String value) {
            addCriterion("article_keywords =", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsNotEqualTo(String value) {
            addCriterion("article_keywords <>", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsGreaterThan(String value) {
            addCriterion("article_keywords >", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsGreaterThanOrEqualTo(String value) {
            addCriterion("article_keywords >=", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsLessThan(String value) {
            addCriterion("article_keywords <", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsLessThanOrEqualTo(String value) {
            addCriterion("article_keywords <=", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsLike(String value) {
            addCriterion("article_keywords like", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsNotLike(String value) {
            addCriterion("article_keywords not like", value, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsIn(List<String> values) {
            addCriterion("article_keywords in", values, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsNotIn(List<String> values) {
            addCriterion("article_keywords not in", values, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsBetween(String value1, String value2) {
            addCriterion("article_keywords between", value1, value2, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleKeywordsNotBetween(String value1, String value2) {
            addCriterion("article_keywords not between", value1, value2, "articleKeywords");
            return (Criteria) this;
        }

        public Criteria andArticleUrlIsNull() {
            addCriterion("article_url is null");
            return (Criteria) this;
        }

        public Criteria andArticleUrlIsNotNull() {
            addCriterion("article_url is not null");
            return (Criteria) this;
        }

        public Criteria andArticleUrlEqualTo(String value) {
            addCriterion("article_url =", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotEqualTo(String value) {
            addCriterion("article_url <>", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlGreaterThan(String value) {
            addCriterion("article_url >", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlGreaterThanOrEqualTo(String value) {
            addCriterion("article_url >=", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlLessThan(String value) {
            addCriterion("article_url <", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlLessThanOrEqualTo(String value) {
            addCriterion("article_url <=", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlLike(String value) {
            addCriterion("article_url like", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotLike(String value) {
            addCriterion("article_url not like", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlIn(List<String> values) {
            addCriterion("article_url in", values, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotIn(List<String> values) {
            addCriterion("article_url not in", values, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlBetween(String value1, String value2) {
            addCriterion("article_url between", value1, value2, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotBetween(String value1, String value2) {
            addCriterion("article_url not between", value1, value2, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIsNull() {
            addCriterion("release_time is null");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIsNotNull() {
            addCriterion("release_time is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeEqualTo(Date value) {
            addCriterion("release_time =", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotEqualTo(Date value) {
            addCriterion("release_time <>", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeGreaterThan(Date value) {
            addCriterion("release_time >", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("release_time >=", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLessThan(Date value) {
            addCriterion("release_time <", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLessThanOrEqualTo(Date value) {
            addCriterion("release_time <=", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIn(List<Date> values) {
            addCriterion("release_time in", values, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotIn(List<Date> values) {
            addCriterion("release_time not in", values, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeBetween(Date value1, Date value2) {
            addCriterion("release_time between", value1, value2, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotBetween(Date value1, Date value2) {
            addCriterion("release_time not between", value1, value2, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdIsNull() {
            addCriterion("acticle_category_id is null");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdIsNotNull() {
            addCriterion("acticle_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdEqualTo(Integer value) {
            addCriterion("acticle_category_id =", value, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdNotEqualTo(Integer value) {
            addCriterion("acticle_category_id <>", value, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdGreaterThan(Integer value) {
            addCriterion("acticle_category_id >", value, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("acticle_category_id >=", value, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdLessThan(Integer value) {
            addCriterion("acticle_category_id <", value, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("acticle_category_id <=", value, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdIn(List<Integer> values) {
            addCriterion("acticle_category_id in", values, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdNotIn(List<Integer> values) {
            addCriterion("acticle_category_id not in", values, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("acticle_category_id between", value1, value2, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andActicleCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("acticle_category_id not between", value1, value2, "acticleCategoryId");
            return (Criteria) this;
        }

        public Criteria andArticleHitsIsNull() {
            addCriterion("article_hits is null");
            return (Criteria) this;
        }

        public Criteria andArticleHitsIsNotNull() {
            addCriterion("article_hits is not null");
            return (Criteria) this;
        }

        public Criteria andArticleHitsEqualTo(Integer value) {
            addCriterion("article_hits =", value, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsNotEqualTo(Integer value) {
            addCriterion("article_hits <>", value, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsGreaterThan(Integer value) {
            addCriterion("article_hits >", value, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsGreaterThanOrEqualTo(Integer value) {
            addCriterion("article_hits >=", value, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsLessThan(Integer value) {
            addCriterion("article_hits <", value, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsLessThanOrEqualTo(Integer value) {
            addCriterion("article_hits <=", value, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsIn(List<Integer> values) {
            addCriterion("article_hits in", values, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsNotIn(List<Integer> values) {
            addCriterion("article_hits not in", values, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsBetween(Integer value1, Integer value2) {
            addCriterion("article_hits between", value1, value2, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleHitsNotBetween(Integer value1, Integer value2) {
            addCriterion("article_hits not between", value1, value2, "articleHits");
            return (Criteria) this;
        }

        public Criteria andArticleLikeIsNull() {
            addCriterion("article_like is null");
            return (Criteria) this;
        }

        public Criteria andArticleLikeIsNotNull() {
            addCriterion("article_like is not null");
            return (Criteria) this;
        }

        public Criteria andArticleLikeEqualTo(Integer value) {
            addCriterion("article_like =", value, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeNotEqualTo(Integer value) {
            addCriterion("article_like <>", value, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeGreaterThan(Integer value) {
            addCriterion("article_like >", value, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeGreaterThanOrEqualTo(Integer value) {
            addCriterion("article_like >=", value, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeLessThan(Integer value) {
            addCriterion("article_like <", value, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeLessThanOrEqualTo(Integer value) {
            addCriterion("article_like <=", value, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeIn(List<Integer> values) {
            addCriterion("article_like in", values, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeNotIn(List<Integer> values) {
            addCriterion("article_like not in", values, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeBetween(Integer value1, Integer value2) {
            addCriterion("article_like between", value1, value2, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleLikeNotBetween(Integer value1, Integer value2) {
            addCriterion("article_like not between", value1, value2, "articleLike");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsIsNull() {
            addCriterion("article_reviews is null");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsIsNotNull() {
            addCriterion("article_reviews is not null");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsEqualTo(Integer value) {
            addCriterion("article_reviews =", value, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsNotEqualTo(Integer value) {
            addCriterion("article_reviews <>", value, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsGreaterThan(Integer value) {
            addCriterion("article_reviews >", value, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsGreaterThanOrEqualTo(Integer value) {
            addCriterion("article_reviews >=", value, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsLessThan(Integer value) {
            addCriterion("article_reviews <", value, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsLessThanOrEqualTo(Integer value) {
            addCriterion("article_reviews <=", value, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsIn(List<Integer> values) {
            addCriterion("article_reviews in", values, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsNotIn(List<Integer> values) {
            addCriterion("article_reviews not in", values, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsBetween(Integer value1, Integer value2) {
            addCriterion("article_reviews between", value1, value2, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleReviewsNotBetween(Integer value1, Integer value2) {
            addCriterion("article_reviews not between", value1, value2, "articleReviews");
            return (Criteria) this;
        }

        public Criteria andArticleShareIsNull() {
            addCriterion("article_share is null");
            return (Criteria) this;
        }

        public Criteria andArticleShareIsNotNull() {
            addCriterion("article_share is not null");
            return (Criteria) this;
        }

        public Criteria andArticleShareEqualTo(Integer value) {
            addCriterion("article_share =", value, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareNotEqualTo(Integer value) {
            addCriterion("article_share <>", value, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareGreaterThan(Integer value) {
            addCriterion("article_share >", value, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareGreaterThanOrEqualTo(Integer value) {
            addCriterion("article_share >=", value, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareLessThan(Integer value) {
            addCriterion("article_share <", value, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareLessThanOrEqualTo(Integer value) {
            addCriterion("article_share <=", value, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareIn(List<Integer> values) {
            addCriterion("article_share in", values, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareNotIn(List<Integer> values) {
            addCriterion("article_share not in", values, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareBetween(Integer value1, Integer value2) {
            addCriterion("article_share between", value1, value2, "articleShare");
            return (Criteria) this;
        }

        public Criteria andArticleShareNotBetween(Integer value1, Integer value2) {
            addCriterion("article_share not between", value1, value2, "articleShare");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNull() {
            addCriterion("is_show is null");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNotNull() {
            addCriterion("is_show is not null");
            return (Criteria) this;
        }

        public Criteria andIsShowEqualTo(Integer value) {
            addCriterion("is_show =", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotEqualTo(Integer value) {
            addCriterion("is_show <>", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThan(Integer value) {
            addCriterion("is_show >", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_show >=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThan(Integer value) {
            addCriterion("is_show <", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanOrEqualTo(Integer value) {
            addCriterion("is_show <=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowIn(List<Integer> values) {
            addCriterion("is_show in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotIn(List<Integer> values) {
            addCriterion("is_show not in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowBetween(Integer value1, Integer value2) {
            addCriterion("is_show between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotBetween(Integer value1, Integer value2) {
            addCriterion("is_show not between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNull() {
            addCriterion("serial_number is null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNotNull() {
            addCriterion("serial_number is not null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberEqualTo(Integer value) {
            addCriterion("serial_number =", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotEqualTo(Integer value) {
            addCriterion("serial_number <>", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThan(Integer value) {
            addCriterion("serial_number >", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("serial_number >=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThan(Integer value) {
            addCriterion("serial_number <", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThanOrEqualTo(Integer value) {
            addCriterion("serial_number <=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIn(List<Integer> values) {
            addCriterion("serial_number in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotIn(List<Integer> values) {
            addCriterion("serial_number not in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberBetween(Integer value1, Integer value2) {
            addCriterion("serial_number between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("serial_number not between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andArticleContentIsNull() {
            addCriterion("article_content is null");
            return (Criteria) this;
        }

        public Criteria andArticleContentIsNotNull() {
            addCriterion("article_content is not null");
            return (Criteria) this;
        }

        public Criteria andArticleContentEqualTo(String value) {
            addCriterion("article_content =", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentNotEqualTo(String value) {
            addCriterion("article_content <>", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentGreaterThan(String value) {
            addCriterion("article_content >", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentGreaterThanOrEqualTo(String value) {
            addCriterion("article_content >=", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentLessThan(String value) {
            addCriterion("article_content <", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentLessThanOrEqualTo(String value) {
            addCriterion("article_content <=", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentLike(String value) {
            addCriterion("article_content like", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentNotLike(String value) {
            addCriterion("article_content not like", value, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentIn(List<String> values) {
            addCriterion("article_content in", values, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentNotIn(List<String> values) {
            addCriterion("article_content not in", values, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentBetween(String value1, String value2) {
            addCriterion("article_content between", value1, value2, "articleContent");
            return (Criteria) this;
        }

        public Criteria andArticleContentNotBetween(String value1, String value2) {
            addCriterion("article_content not between", value1, value2, "articleContent");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(Integer value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(Integer value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(Integer value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(Integer value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(Integer value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<Integer> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<Integer> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(Integer value1, Integer value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(Integer value1, Integer value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andDetailsIsNull() {
            addCriterion("details is null");
            return (Criteria) this;
        }

        public Criteria andDetailsIsNotNull() {
            addCriterion("details is not null");
            return (Criteria) this;
        }

        public Criteria andDetailsEqualTo(Integer value) {
            addCriterion("details =", value, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsNotEqualTo(Integer value) {
            addCriterion("details <>", value, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsGreaterThan(Integer value) {
            addCriterion("details >", value, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsGreaterThanOrEqualTo(Integer value) {
            addCriterion("details >=", value, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsLessThan(Integer value) {
            addCriterion("details <", value, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsLessThanOrEqualTo(Integer value) {
            addCriterion("details <=", value, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsIn(List<Integer> values) {
            addCriterion("details in", values, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsNotIn(List<Integer> values) {
            addCriterion("details not in", values, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsBetween(Integer value1, Integer value2) {
            addCriterion("details between", value1, value2, "details");
            return (Criteria) this;
        }

        public Criteria andDetailsNotBetween(Integer value1, Integer value2) {
            addCriterion("details not between", value1, value2, "details");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}